#!/bin/bash
echo "input time of day:";read timeOfDay
case ${timeOfDay} in
    yes|y|Yes|YES) echo "Good Morning!";;
    n*|N*) echo "Good afternoon!";;
    *) echo "Wrong answer!"
    echo "bye..."
    exit 1;;
esac